import request from '@/utils/request'
import { PageResultHrInfoVo, DeepRequired, HrPageQuery } from '../../interface'

/**
 * 获取hr分页
 * /hr/more
 */
export function getHrMore(params: GetHrMoreParams) {
  const paramsInput = {
    ...params.hrPageQuery,
  }
  return request.get<DeepRequired<PageResultHrInfoVo>>(`/hr/more`, {
    params: paramsInput,
  })
}

interface GetHrMoreParams {
  hrPageQuery: HrPageQuery
}
